import { request } from '@/utils'

export default {
  login: (data) => request.post('/api/auth/login', data, { noNeedToken: true }),
  logout: () => request.post('/api/auth/logout'),
}
